package iotest.stream01;

import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;

public class OSWDemo {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos = new FileOutputStream("jiNiTaiMei.txt");
        OutputStreamWriter osw = new OutputStreamWriter(fos);
        osw.write("鸡你太美,贝贝,鸡你实在是太美,贝贝,迎面走来的你让我如此蠢蠢欲动,这种感觉我曾没有crshkoyou,你是我的,我是你的谁");
        System.out.println("写完了");
        osw.close();

    }
}
